<!DOCTYPE html>
<html lang="en">
<head>
<title>Brook Tardigrade: BrookStringMap</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="generator" content="PasDoc 0.16.0">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="tipuesearch/tipuesearch.css">

<link rel="StyleSheet" type="text/css" href="pasdoc.css">
</head>
<body>
<div class="container"><div class="navigation">
<h2><a href="index.html">Brook Tardigrade</a></h2><ul><li><a href="AllUnits.html">Units</a></li><li><a href="ClassHierarchy.html">Class Hierarchy</a></li><li><a href="AllClasses.html">Classes, Interfaces, Objects and Records</a></li><li><a href="AllTypes.html">Types</a></li><li><a href="AllVariables.html">Variables</a></li><li><a href="AllConstants.html">Constants</a></li><li><a href="AllFunctions.html">Functions and Procedures</a></li><li><a href="AllIdentifiers.html">Identifiers</a></li><li><form class="search-form" action="tipue_results.html"><div class="search-input"><input type="text" name="q" id="tipue_search_input" pattern=".{3,}" title="At least 3 characters" required><div class="search-button"><input type="button" id="tipue_search_button" onclick="this.form.submit();"></div></div></form>
<div style="clear: both"></div>
</li></ul></div><div class="content">
<h1 class="unit">Unit BrookStringMap</h1>
<div class="sections">
<div class="one_section"><a class="section" href="#PasDoc-Description">Description</a></div><div class="one_section"><a class="section" href="#PasDoc-Uses">Uses</a></div><div class="one_section"><a class="section" href="#PasDoc-Classes">Classes, Interfaces, Objects and Records</a></div><div class="one_section">Functions and Procedures</div><div class="one_section"><a class="section" href="#PasDoc-Types">Types</a></div><div class="one_section">Constants</div><div class="one_section">Variables</div></div>
<span id="PasDoc-Description"></span><h2 class="description">Description</h2>
<p>
String map used to represent HTML fields, query-string parameters and more.</p>
<span id="PasDoc-Uses"></span><h2 class="uses">Uses</h2>
<ul class="useslist"><li>RTLConsts</li><li>SysUtils</li><li>StrUtils</li><li>Classes</li><li>TypInfo</li><li>Platform</li><li>Marshalling</li><li>libsagui</li><li><a href="BrookUtility.html">BrookUtility</a></li><li><a href="BrookHandledClasses.html">BrookHandledClasses</a></li></ul><h2 class="overview">Overview</h2>
<span id="PasDoc-Classes"></span><h3 class="cio">Classes, Interfaces, Objects and Records</h3>
<table class="classestable wide_list">
<tr class="listheader">
<th class="itemname">Name</th>
<th class="itemdesc">Description</th>
</tr>
<tr class="list">
<td class="itemname">Packed Record&nbsp;<a class="bold" href="BrookStringMap.TBrookStringPair.html"><code>TBrookStringPair</code></a></td>
<td class="itemdesc">Pair item of <code><a class="normal" href="BrookStringMap.TBrookStringMap.html">TBrookStringMap</a></code>.</td>
</tr>
<tr class="list2">
<td class="itemname">Class&nbsp;<a class="bold" href="BrookStringMap.TBrookStringMapEnumerator.html"><code>TBrookStringMapEnumerator</code></a></td>
<td class="itemdesc">Enumerator used to iterate the map <code><a class="normal" href="BrookStringMap.TBrookStringMap.html">TBrookStringMap</a></code>.</td>
</tr>
<tr class="list">
<td class="itemname">Class&nbsp;<a class="bold" href="BrookStringMap.TBrookStringMap.html"><code>TBrookStringMap</code></a></td>
<td class="itemdesc">String map class and its related methods.</td>
</tr>
</table>
<span id="PasDoc-Types"></span><h3 class="summary">Types</h3>
<table class="summary wide_list">
<tr class="list">
<td class="itemcode"><code><strong><a href="BrookStringMap.html#TBrookStringMapOperation">TBrookStringMapOperation</a></strong> = (...);</code></td>
</tr>
<tr class="list2">
<td class="itemcode"><code><strong><a href="BrookStringMap.html#TBrookStringMapChangeEvent">TBrookStringMapChangeEvent</a></strong> = procedure(ASender: TObject; AOperation: <a href="BrookStringMap.html#TBrookStringMapOperation">TBrookStringMapOperation</a>) of object;</code></td>
</tr>
<tr class="list">
<td class="itemcode"><code><strong><a href="BrookStringMap.html#TBrookStringMapIterator">TBrookStringMapIterator</a></strong> = function(AData: Pointer; APair: <a href="BrookStringMap.TBrookStringPair.html">TBrookStringPair</a>): Integer;</code></td>
</tr>
<tr class="list2">
<td class="itemcode"><code><strong><a href="BrookStringMap.html#TBrookStringMapComparator">TBrookStringMapComparator</a></strong> = function(AData: Pointer; APairA, APairB: <a href="BrookStringMap.TBrookStringPair.html">TBrookStringPair</a>): Integer;</code></td>
</tr>
</table>
<h2 class="description">Description</h2>
<h3 class="detail">Types</h3>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><span id="TBrookStringMapOperation"></span><code><strong>TBrookStringMapOperation</strong> = (...);</code></td>
</tr>
<tr><td colspan="1">
<p>
Identifies the kind of operation in the map.    </p>
<h6 class="description_section">Values</h6>
<ul>
<li>
<span id="sgmoNone">sgmoNone</span>: None operation or map cleaned.</li>
<li>
<span id="sgmoAdd">sgmoAdd</span>: Pair added to the map.</li>
<li>
<span id="sgmoAddOrSet">sgmoAddOrSet</span>: Pair added or set to the map.</li>
<li>
<span id="sgmoRemove">sgmoRemove</span>: Pair removed from the map.</li>
</ul>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><span id="TBrookStringMapChangeEvent"></span><code><strong>TBrookStringMapChangeEvent</strong> = procedure(ASender: TObject; AOperation: <a href="BrookStringMap.html#TBrookStringMapOperation">TBrookStringMapOperation</a>) of object;</code></td>
</tr>
<tr><td colspan="1">
<p>
Event signature used to notify a change in the map.  </p>
<h6 class="description_section">Parameters</h6>
<dl class="parameters">
<dt>ASender</dt>
<dd>Event caller.</dd>
<dt>AOperation</dt>
<dd>Operation kind.</dd>
</dl>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><span id="TBrookStringMapIterator"></span><code><strong>TBrookStringMapIterator</strong> = function(AData: Pointer; APair: <a href="BrookStringMap.TBrookStringPair.html">TBrookStringPair</a>): Integer;</code></td>
</tr>
<tr><td colspan="1">
<p>
Function signature used by <code><a class="normal" href="BrookStringMap.TBrookStringMap.html#Iterate">TBrookStringMap.Iterate</a></code>.  </p>
<h6 class="description_section">Parameters</h6>
<dl class="parameters">
<dt>AData[in,out]</dt>
<dd>User-defined data.</dd>
<dt>APair[out]</dt>
<dd>Current iterated pair.</dd>
</dl>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><span id="TBrookStringMapComparator"></span><code><strong>TBrookStringMapComparator</strong> = function(AData: Pointer; APairA, APairB: <a href="BrookStringMap.TBrookStringPair.html">TBrookStringPair</a>): Integer;</code></td>
</tr>
<tr><td colspan="1">
<p>
Function signature used by <code><a class="normal" href="BrookStringMap.TBrookStringMap.html#Sort">TBrookStringMap.Sort</a></code>.   </p>
<h6 class="description_section">Parameters</h6>
<dl class="parameters">
<dt>AData[in,out]</dt>
<dd>User-defined data.</dd>
<dt>APairA[out]</dt>
<dd>Current left pair (A).</dd>
<dt>APairB[out]</dt>
<dd>Current right pair (B).</dd>
</dl>
</td></tr>
</table>
<hr><span class="appinfo"><em>Generated by <a href="https://pasdoc.github.io/">PasDoc 0.16.0</a>. </em>
</span>
</div></div></body></html>
